import 'package:cher_flare/modules/discovery/ly_add_works_page.dart';
import 'package:get/get.dart';

import '../common/widgets/ly_webView_page.dart';
import '../modules/discovery/ly_discovery_page.dart';
import '../modules/discovery/ly_works_detail_page.dart';
import '../modules/guide/ly_guide_page.dart';
import '../modules/home_page/views/home_page.dart';
import '../modules/home_page/views/ly_add_record_page.dart';
import '../modules/home_page/views/ly_medal_buy_page.dart';
import '../modules/home_page/views/ly_medal_page.dart';
import '../modules/home_page/views/ly_strategy_page.dart';
import '../modules/login/views/ly_login_page.dart';
import '../modules/purchase/views/ly_coin_shop_page.dart';
import '../modules/user_page/ly_user_page.dart';
import '../personal_center/views/ly_about_app_page.dart';
import '../personal_center/views/ly_block_list_page.dart';
import '../personal_center/views/ly_follow_list_page.dart';
import '../personal_center/views/ly_personal_center_medal_Page.dart';
import '../personal_center/views/ly_personal_info_edit_page.dart';
import '../personal_center/views/ly_setting_page.dart';

class AppPages {
  AppPages._();
  static const login = '/login';
  static const home = '/home';
  static const guidePage = '/guidePage';
  static const strategyPage = '/strategyPage';
  static const webView = '/webView';
  static const publishRecord = '/publishRecord';
  static const medalPage = '/medalPage';
  static const personalInfoEditPage = '/personalInfoEditPage';
  static const aboutPage = '/aboutPage';
  static const settingPage = '/settingPage';
  static const blockList = '/blockList';
  static const followList = '/followList';
  static const personalCenterMedalPage = '/personalCenterMedalPage';
  static const discoveryPage = '/discoveryPage';
  static const worksDetailPage = '/worksDetailPage';
  static const coinShopPage = '/coinShopPage';
  static const medalBuyPage = '/medalBuyPage';
  static const userPage = '/userPage';
  static const publishWorks = '/publishWorks';

  static final routes = [
    GetPage(
      name: home,
      page: () => const HomePage(),
    ),
    GetPage(
      name: guidePage,
      page: () => const LYGuidePage(),
    ),
    GetPage(
      name: login,
      page: () => const LYLoginPage(),
    ),
    GetPage(
      name: strategyPage,
      page: () => const LYStrategyPage(),
    ),
    GetPage(
      name: webView,
      page: () => const LYWebViewPage(),
    ),
    GetPage(
      name: publishRecord,
      page: () => const LYAddRecordPage(),
    ),
    GetPage(
      name: medalPage,
      page: () => const LYMedalPage(),
    ),
    GetPage(
      name: personalInfoEditPage,
      page: () => const LYPersonalInfoEditPage(),
    ),
    GetPage(
      name: aboutPage,
      page: () => const LYAboutAppPage(),
    ),
    GetPage(
      name: settingPage,
      page: () => const LYSettingPage(),
    ),
    GetPage(
      name: blockList,
      page: () => const LYBlockListPage(),
    ),
    GetPage(
      name: followList,
      page: () => const LYFollowListPage(),
    ),
    GetPage(
      name: personalCenterMedalPage,
      page: () => const LYPersonalCenterMedalPage(),
    ),
    GetPage(
      name: discoveryPage,
      page: () => const LYDiscoveryPage(),
    ),
    GetPage(
      name: worksDetailPage,
      page: () => const LYWorksDetailPage(),
    ),
    GetPage(
      name: coinShopPage,
      page: () => const LYCoinShopPage(),
    ),
    GetPage(
      name: userPage,
      page: () => const LYUserPage(),
    ),
    GetPage(
      name: publishWorks,
      page: () => const LYAddWorksPage(),
    ),
  ];
}
